#include"stdio.h"
main()
{
	int i,n,index;
	int a[6];
	printf("Enter n:");
	scanf("%d",&n);
	printf("Enter %d number:",n);
	for(i=0;i<n;i++)
		scanf("%d",&a[i]);
	index=0;
	for(i=1;i<n;i++)
		if(a[i]<a[index])
			index=i;
printf("min is a[%d]=%d\n",index,a[index]);
return 0;
}
